package com.fesine.learn.design.pattern.creational.abstractfactory;

/**
 * @description: 类描述
 * @author: fesine
 * @createTime:2019/2/18
 * @update:修改内容
 * @author: fesine
 * @updateTime:2019/2/18
 */
public class Test {
    public static void main(String[] args) {
        CourseFactory factory = new JavaFactory();
        Video video = factory.getVideo();
        Article article = factory.getArticle();
        video.produce();
        article.produce();
    }
}
